package god.model;

public class Account2VO {
	private String aid;
	private int balance;
	private  double interestRate;
	private String dateCreated;
	private double monthlyInterestRate;
	
	public Account2VO(String aid, int balance, double interestRate, String dateCreated) {
		this.aid = aid;
		this.balance = balance;
		this.interestRate = interestRate;
		this.dateCreated = dateCreated;
	}

	public String getAid() { return aid; }
	public void setAid(String aid) { this.aid = aid; }
	
	public int getBalance() { return balance; }
	public void setBalance(int balance) { this.balance = balance; }
	
	public double getInterestRate() { return interestRate; }
	public void setInterestRate(double interestRate) { this.interestRate = interestRate; }
	
	public String getDateCreated() { return dateCreated; }
	public void setDateCreated(String dateCreated) { this.dateCreated = dateCreated; }
	
	public double getMonthlyInterestRate() { return monthlyInterestRate; }
	public void setMonthlyInterestRate(double monthlyInterestRate) { this.monthlyInterestRate = monthlyInterestRate; }

	@Override
	public String toString() {
		String result = "";
		result += aid + "/" + balance + "/" + interestRate + "/" +  dateCreated + "/" + monthlyInterestRate;
		return result;
	}	
}
